package com.seio.edc.common;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * Project Name: EDC管理系统 <br>
 * Description: <br>
 * File Name: Constants.java <br>
 * Company: Seio <br>
 */
public class Constants {

	/** 数据库配置文件 **/
	public static final String DEFAULT_DB = "default_db";
	public static final String COLLECT_DB = "collect_db";

	public static Map<String, String> SESSION_MAP = new HashMap<String, String>();
	public static final String LOGIN_COOKIE_NAME = "SCRMC"; // 登录cookie名(scrm
															// cookie)
	public static final String CUR_USERINFO = "cur_UserInfo"; // 当前用户信息(session)
	public static final String CUR_MODULE_CODE = "cur_module_code"; // 当前用户拥有模块代码信息(session)
	public static final String CUR_MODULE_BUTTON = "cur_module_button"; // 当前用户拥有模块按钮信息(session)
	public static String MD5_KEY = "scrm_2012-md5_key";// md5加密参与的字段

	public static String DEFAULT_PASSWORD = "c4ca4238a0b923820dcc509a6f75849b";// 默认密码

	public static String PAGESIZE = "10,30,50,100";// 每页显示记录数

	public static String SYSTEMMANAGER = "0";// 系统管理员
	public static int ADMINCODE = 1000;// 系统管理员
	public static int COLLECTCOUNTS = 20;// 定时任务每小时采集次数

	// webService配置文件位置
	public static String EMCpropertiesPath = "C:/EMCService/local/emc.properties";
	public static String EMCTaskpropertiesPath = "C:/EMCService/local/task.properties";
	public static String TaskpropertiesPath = "C:/EMCService/local/tasktime.properties";
	// 上传目录
	public static String UploadFilsPath = "C:/EMCService/uploadfiles/";
	// 上传图片路径
	public static String UploadImagesPath = "C:/EMCService/uploadfiles/images/";
	//公司文档上传路径
	public static String UploadDocumentsPath = "C:/EMCService/uploadfiles/documents/";

	public static String UploadDescriptionPath = "C:/EMCService/uploadfiles/description/";
	public static String UploadDescriptionUrl = "/description/";

	public static final String TEMPSTATE = "00000000000000000000"; // 当节点状态无法从云平台取得时,状态全部设定为0

}
